package com.android.mymedicine.infrastructure;

import com.android.mymedicine.domain.AbstractEntity;
import com.android.mymedicine.util.ResponseData;

public interface AbstractRepository <T extends AbstractEntity>{

	ResponseData<T> persist(T entity);
	ResponseData<T> findByName(String name);
	ResponseData<T> list();
	ResponseData<T> update(T entity);
	ResponseData<T> desable(T entity);
}